package com.ylsk.check.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;

/**
 * 报备信息审批日志对象 ins_report_appr_log
 *
 * @author yangsy
 * @date 2023-12-15
 */
@TableName("ins_report_appr_log")
public class ReportApprLog extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    private Long reportApprLogId;

    /** 报备信息id */
    @Excel(name = "报备信息id")
    private Long reportInfoId;

    /** 提交时间（报备信息最近一次更新时间） */
    @Excel(name = "提交时间", readConverterExp = "报=备信息最近一次更新时间")
    private Date submitTime;

    /** 提交人（报备信息填写人） */
    @Excel(name = "提交人", readConverterExp = "报=备信息填写人")
    private Long submitUser;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date apprTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long apprUserId;

    /** 审核状态（0通过 1 驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=通过,1=,驳=回")
    private Integer apprStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String apprComent;


    public void setReportApprLogId(Long reportApprLogId)
    {
        this.reportApprLogId = reportApprLogId;
    }

    public Long getReportApprLogId()
    {
        return reportApprLogId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setSubmitTime(Date submitTime)
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime()
    {
        return submitTime;
    }
    public void setSubmitUser(Long submitUser)
    {
        this.submitUser = submitUser;
    }

    public Long getSubmitUser()
    {
        return submitUser;
    }
    public void setApprTime(Date apprTime)
    {
        this.apprTime = apprTime;
    }

    public Date getApprTime()
    {
        return apprTime;
    }
    public void setApprUserId(Long apprUserId)
    {
        this.apprUserId = apprUserId;
    }

    public Long getApprUserId()
    {
        return apprUserId;
    }
    public void setApprStatus(Integer apprStatus)
    {
        this.apprStatus = apprStatus;
    }

    public Integer getApprStatus()
    {
        return apprStatus;
    }
    public void setApprComent(String apprComent)
    {
        this.apprComent = apprComent;
    }

    public String getApprComent()
    {
        return apprComent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportApprLogId", getReportApprLogId())
            .append("reportInfoId", getReportInfoId())
            .append("submitTime", getSubmitTime())
            .append("submitUser", getSubmitUser())
            .append("apprTime", getApprTime())
            .append("apprUserId", getApprUserId())
            .append("apprStatus", getApprStatus())
            .append("apprComent", getApprComent())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
